<span ng-if="controller.itemsCount > 0">

  <span class="label cursor-pointer" ng-class="cssClass" ng-click="controller.onClick()">
    <span ng-if="icon" ng-class="icon"
          class="glyphicon" aria-hidden="true">
    </span>
    {$ controller.itemsCount $} {$ label $}
  </span>

</span>
